package com.liu.lsm.livestock.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class History implements Serializable {

    private  Integer historyId;
    private  Integer livestockId;
    private Date recordTime;
    private  Double weight;
    private  String illnessInfo;
    private  Date   deliveryTime;
    private  String picUrl;

    public History(Integer livestockId, Date recordTime, Double weight, String illnessInfo, Date deliveryTime, String picUrl) {
        this.livestockId = livestockId;
        this.recordTime = recordTime;
        this.weight = weight;
        this.illnessInfo = illnessInfo;
        this.deliveryTime = deliveryTime;
        this.picUrl = picUrl;
    }
}
